<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    // 1.获取时间
    let now = new Date()
    console.log(now)
    // 2.Date.now();
    let start = Date.now();
    console.log(start)
</script>
</body>
</html>